package com.zhijian.wharf.service;

import java.util.List;

/**
 * @author HCG
 * @version 1.0
 * @date 2024-08-07
 */
public interface ServerRegisterService {

    /**
     * 注册
     *
     * @param userId
     * @param moduleList
     * @return
     */
    boolean register(Long userId, List<Long> moduleList);

    /**
     * 查询这个用户的注册过的权限
     *
     * @param userId
     * @return
     */
    List<Integer> selectModules(Long userId);
}
